package thread;

import java.util.concurrent.locks.ReentrantLock;

/**
 * 抢红包多线程探索
 */
public class RedPocket {
    //方案1 提前分配好抢红包数量 存储，随机hash进入

    //方案二 抢红包时分配

    public static void main(String[] args) {
        ReentrantLock reentrantLock = new ReentrantLock();
    }
}
